package com.ruoyi.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 枪状态枚举
 *
 * @author laifeng
 * @version 1.0
 * @date 2025/7/29
 */
@AllArgsConstructor
@Getter
public enum GunStatusEnum {
    // 枪状态 0离线 1故障 2空闲3 充电
    OFFLINE(0, "离线"),
    FAULT(1, "故障"),
    IDLE(2, "空闲"),
    CHARGING(3, "充电");

    private final Integer code;
    private final String desc;
}
